package qxx.information.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import qxx.information.config.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 采集信息管理表
 * </p>
 *
 * @author qtx
 * @since 2024-03-12
 */
@Getter
@Setter
@TableName("collect_info")
public class CollectInfo extends BaseEntity {



    /**
     * 医院id
     */
    @TableField("hospital_id")
    private Long hospitalId;


    /**
     * 采集人姓名
     */
    @TableField("collect_name")
    private String collectName;

    /**
     * 采集人性别：0是女，1是男
     */
    @TableField("collect_sex")
    private Boolean collectSex;

    /**
     * 采集人民族
     */
    @TableField("collect_nation")
    private String collectNation;

    /**
     * 采集人出生日期
     */
    @TableField("collect_birth_data")
    private LocalDate collectBirthData;

    /**
     * 采集人身份证号
     */
    @TableField("collect_card")
    private String collectCard;

    /**
     * 套餐ID
     */
    @TableField("package_id")
    private Integer packageId;

    /**
     * 试管条码号
     */
    @TableField("tube_card")
    private String tubeCard;

    /**
     * 采样点
     */
    @TableField("sampling_point")
    private String samplingPoint;

    /**
     * 作废状态：false是未作废，true是已作废
     */
    @TableField("status")
    private Boolean status;

    /**
     * 科室名字
     */
    @TableField("dept_name")
    private String deptName;

    /**
     * 医生名字
     */
    @TableField("doctor_name")
    private String doctorName;

    /**
     * 病历号
     */
    @TableField("case_number")
    private String caseNumber;

    /**
     * 采集时间
     */
    @TableField("collect_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private LocalDateTime collectTime;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

}
